package com.woniuxy.bookmallmanagersrever.service;

import com.woniuxy.bookmallmanagersrever.entity.TBooktype;
import com.woniuxy.bookmallmanagersrever.mapper.TBooktypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookTypeService {
    @Autowired
    TBooktypeMapper booktypeMapper ;


    public List<TBooktype> findAllTypes() {
        return booktypeMapper.selectAll();
    }
}
